package text;

public class son1 extends Father{
    private Father father;

    public son1(Father father) {
        this.father = father;
    }

    @Override
    public String getcode() {
        return "1"+this.father.getcode();
    }
}
